package com.freedom.ums.member.domain.repository;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.freedom.ums.member.infrastructure.persistence.pojo.bo.MemberBO;
import com.freedom.ums.member.infrastructure.persistence.pojo.query.admin.AdminMemberPageQuery;

import java.util.List;

public interface MemberRepository {
    Page<MemberBO> queryMemberPage(AdminMemberPageQuery queryParam);

    Boolean modifyStatus(List<Integer> memberIds, Integer status);

    MemberBO findMemberByMobile(String mobile);

    Integer saveMember(MemberBO member);
}
